@charset "UTF-8";
/*
* 公共布局
*/
html,
body {
  height: 100%;
  background: #003366;
  font-size: 0.3rem;
}

code {
  overflow-y: auto;
  max-height: 5rem;
  min-height: 1rem;
  margin-bottom: 0.2rem;
}

pre {
  position: relative;
  padding-left: 0.4rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.lang-type {
  padding-left: 0.4rem;
  padding-bottom: 0.1rem;
}

.copy_btn {
  border: 0;
  position: absolute;
  right: 0.5rem;
  top: 0;
  font-size: 0.3rem;
  color: #4d4d4d;
  background-color: white;
  padding: 0.1rem 0.2rem;
  margin: 8px;
  border-radius: 4px;
  cursor: pointer;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.05);
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.05);
}

i,
cite {
  font-style: normal;
}

.loading-success {
  display: block !important;
}

.header {
  position: relative;
  color: #fff;
  font-size: 0.6rem;
  font-family: Microsoft YaHei;
  font-weight: bold;
  height: 1.5rem;
  line-height: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.time1 {
  font-size: 0.36rem;
}

.logo {
  position: absolute;
  top: 0.05rem;
  left: 2rem;
}

.layout-container {
  display: none;
  position: relative;
  height: 100%;
  /* height: 100%; */
  /* min-height: 21.6rem; */
}

.layout-body {
  color: #fff;
  padding: 0 0 0 0.6rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 1.5rem;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
}

.layout-body .flex-left {
  -ms-flex-preferred-size: 5rem;
  flex-basis: 5rem;
  overflow: hidden;
}

.layout-body .flex-mid {
  margin-left: 0.6rem;
  margin-right: 0rem;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding-right: 0.6rem;
  overflow-y: auto;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.flex-item {
  -webkit-box-flex: 1;
  -ms-flex: 1;
      flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.flex-item > div {
  width: 100%;
}
.flex-item pre {
  width: 100%;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.flex-column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

/* 水平居中 */
.justify-center {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* 垂直居中 */
.align-center {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.just-between {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.just-around {
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.common-panel {
  overflow: hidden;
  background: #05203a;
  border-radius: 0.1rem;
  margin-bottom: 0.4rem;
}
.common-panel .panel-header {
  padding-left: 0.3rem;
  height: 1.4rem;
  line-height: 1.4rem;
  font-size: 0.8rem;
  position: relative;
  font-family: 'YouSheBiaoTiHei';
}
.common-panel .panel-body {
  padding: 0 0.3rem 0.3rem 0.3rem;
}
.common-panel .panel-body .desc {
  background: #f1f1f1;
  color: #333;
  padding: 0.15rem;
  margin-bottom: 0.2rem;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) inset;
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) inset;
  border-radius: 0.1rem;
}

.w50 {
  width: 50%;
}

.help {
  position: absolute;
  right: 0.6rem;
  top: 0.6rem;
  color: #fff;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
}
.help i {
  margin-right: 0.1rem;
  font-size: 0.5rem;
}
.help:hover {
  color: #1e9fff;
}

.left-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.left-nav .item {
  cursor: pointer;
  padding: 0.1rem 0.2rem;
  background: #99CCFF;
  margin-bottom: 0.1rem;
  color: #333;
}
.left-nav .item:hover {
  opacity: 0.8;
}

.uptime {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.uptime i {
  margin-right: 0.1rem;
  font-size: 0.5rem;
}

.chart {
  height: 100%;
}
